﻿<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta name=”renderer” content=”webkit|ie-comp|ie-stand” />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="renderer" content="webkit">
    <link rel="icon" href="/favicon.ico">

    <title>发布表单功能</title>
    <link href="/assets/plugins/font/css/font-awesome.min.css" rel="stylesheet"/>
    <link href="/assets/plugins/bootstrap/bootstrap.min.css" rel="stylesheet"/>


    <link href="/module/style/lr-common.css" rel="stylesheet"/>
    <link href="/module/plugin/scroll/scroll.css" rel="stylesheet"/>
    <link href="/module/style/lr-iframe-form.css" rel="stylesheet"/>
    <link href="/module/plugin/wizard/wizard.css" rel="stylesheet"/>
    <link href="/module/plugin/tree/lr-tree.css" rel="stylesheet"/>
    <link href="/module/plugin/select/lr-select.css" rel="stylesheet"/>

    <link href="/module/plugin/timeline/lr-timeline.css" rel="stylesheet"/>
    <link href="/module/plugin/formselect/lr-formselect.css" rel="stylesheet"/>
    <link href="/module/plugin/inputsearch/lr-isearch.css" rel="stylesheet"/>
    <link href="/module/plugin/grid/jfgrid.css" rel="stylesheet"/>
    <link href="/module/plugin/uploader/lr-uploader.css" rel="stylesheet"/>
    <link href="/module/plugin/date/lr-datepicker.css" rel="stylesheet"/>

    <link href="form.css" rel="stylesheet"/>


    <script src="/assets/plugins/jquery/jquery-1.10.2.min.js"></script>
    <script src="/assets/plugins/jquery/jquery.md5.min.js"></script>
    <script src="/assets/plugins/jquery/plugin/jqprint/jquery.jqprint-0.3.js"></script>
    <script src="/assets/plugins/laydate/laydate.js"></script>
    <script src="/assets/plugins/ueditor/ueditor.config.js"></script>
    <script src="/assets/plugins/ueditor/ueditor.all.min.js"></script>
    <script src="/assets/plugins/ueditor/lang/zh-cn/zh-cn.js"></script>

    <!--[if lt IE 9]>
    <script src="/assets/plugins/bootstrap/html5shiv.min.js"></script>
    <script src="/assets/plugins/bootstrap/respond.min.js"></script>
    <![endif]-->
    <script>
        function request(d) { for (var c = location.search.slice(1).split("&"), a = 0; a < c.length; a++) { var b = c[a].split("="); if (b[0] == d) if ("undefined" == unescape(b[1])) break; else return unescape(b[1]) } return "" };
    </script>

</head>
<body class="Chrome 64.0 lr-uitheme-top">
<div id="lr_form_bg" class="lr-form-bg">
</div>

<div class="widget-body">
    <div id="wizard" class="wizard" data-target="#wizard-steps">
        <ul class="steps">
            <li data-target="#step-1" class="active"><span class="step">1</span>基础配置<span class="chevron"></span></li>
            <li data-target="#step-2"><span class="step">2</span>条件配置<span class="chevron"></span></li>
            <li data-target="#step-3"><span class="step">3</span>视图列表<span class="chevron"></span></li>
        </ul>
    </div>
    <div class="step-content" id="wizard-steps">
        <div class="step-pane lr-form-wrap active" id="step-1">
            <input id="id" type="hidden" />

            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">功能编号<font face="宋体">*</font></div>
                <input id="code" type="text" class="form-control" placeholder="请输入编号" isvalid="yes" checkexpession="NotNull" />
            </div>
            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">功能名称<font face="宋体">*</font></div>
                <input id="name" type="text" class="form-control" placeholder="请输入名称" isvalid="yes" checkexpession="NotNull" />
            </div>
            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">上级功能</div>
                <div id="parentId"></div>
            </div>
            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">功能图标</div>
                <input id="css" type="text" class="form-control" placeholder="请选择图标" />
                <span id="selectIcon" class="lr-input-button" title="选取图标">...</span>
            </div>

            <div class="col-xs-12 lr-form-item lr-form-btnitem">
                <div class="lr-form-item-title">表单选择<font face="宋体">*</font></div>
                <div id="formId" isvalid="yes" checkexpession="NotNull"></div>
                <a id="lr_preview" class="btn btn-default lr-form-item-btn">预览表单</a>
            </div>
            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">表单打开方式<font face="宋体">*</font></div>
                <div class="radio">
                    <label>
                        <input name="formOpenType" type="radio" value="1" checked="checked" />
                        弹层页
                    </label>
                    <label>
                        <input name="formOpenType" type="radio" value="0" />
                        窗口页
                    </label>
                </div>
            </div>
            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">功能排序<font face="宋体">*</font></div>
                <input id="sort" type="text" class="form-control" placeholder="请输入排序号" isvalid="yes" checkexpession="Num" />
            </div>
            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">表单框宽</div>
                <input id="fromWidth" type="text" class="form-control" placeholder="请输入宽"  value="600" />
            </div>
            <div class="col-xs-6 lr-form-item">
                <div class="lr-form-item-title">表单框高</div>
                <input id="fromHeight" type="text" class="form-control" placeholder="请输入高" value="400" />
            </div>
            <div class="col-xs-12 lr-form-item">
                <div class="lr-form-item-title">功能描述</div>
                <textarea id="description" class="form-control" style="height: 140px;"></textarea>
            </div>
        </div>
        <div class="step-pane step-gird-pane lr-form-layout" id="step-2">
            <div class="lr-form-layout-header">
                <div class="col-xs-6 lr-form-item">
                    <div class="lr-form-item-title">时间查询</div>
                    <div class="radio">
                        <label>
                            <input name="queryDatetime" type="radio" value="1" />
                            启用
                        </label>
                        <label>
                            <input name="queryDatetime" type="radio" value="0" checked="checked" />
                            停用
                        </label>
                    </div>
                </div>
                <div class="col-xs-6 lr-form-item">
                    <div class="lr-form-item-title">时间字段</div>
                    <div id="queryDatetime" class="lr-select-underline"></div>
                </div>
                <div class="col-xs-6 lr-form-item">
                    <div class="lr-form-item-title">搜索框宽</div>
                    <input id="queryWidth" type="text" class="form-control lr-input-underline" placeholder="请输入宽" />
                </div>
                <div class="col-xs-6 lr-form-item">
                    <div class="lr-form-item-title">搜索框高</div>
                    <input id="queryHeight" type="text" class="form-control lr-input-underline" placeholder="请输入高" />
                </div>
            </div>
            <div class="lr-form-layout-body">
                <div class="lr-form-layout-body-title">
                    <div class="lr-form-jfgrid-btns">
                        <a id="lr_add_query" class="btn btn-success"><i class="fa fa-plus"></i>&nbsp;添加</a>
                        <a id="lr_edit_query" class="btn btn-info"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
                        <a id="lr_delete_query" class="btn btn-danger"><i class="fa fa-trash-o"></i>&nbsp;移除</a>
                    </div>
                    <span>条件项设计</span>
                </div>
                <div id="query_girdtable"></div>
            </div>
        </div>
        <div class="step-pane step-gird-pane lr-form-layout" style="padding-top:41px;" id="step-3">
            <div class="lr-form-layout-header" style="padding:0px;height:41px;padding-left:10px;">
                <div class="col-xs-12 lr-form-item">
                    <div class="lr-form-item-title">是否分页</div>
                    <div class="radio">
                        <label>
                            <input name="ispage" type="radio" value="1" />
                            是
                        </label>
                        <label>
                            <input name="ispage" type="radio" value="0" checked="checked" />
                            否
                        </label>
                    </div>
                </div>
            </div>
            <div class="lr-form-layout-body">
                <div class="lr-form-layout-body-title">
                    <div class="lr-form-jfgrid-btns">
                        <a id="lr_add_col" class="btn btn-success"><i class="fa fa-plus"></i>&nbsp;添加</a>
                        <a id="lr_edit_col" class="btn btn-info"><i class="fa fa-pencil-square-o"></i>&nbsp;修改</a>
                        <a id="lr_delete_col" class="btn btn-danger"><i class="fa fa-trash-o"></i>&nbsp;移除</a>
                    </div>
                    <span>页面列表设计</span>
                </div>
                <div id="col_girdtable"></div>
            </div>

        </div>
    </div>

    <div class="lr-form-bottom-button" id="wizard-actions">
        <a id="btn_prev" class="btn btn-default btn-prev" disabled>上一步</a>
        <a id="btn_next" class="btn btn-default btn-next">下一步</a>
        <a id="btn_finish" class="btn btn-success">完成</a>
    </div>
</div>

<script src="form.js"></script>

<script src="/module/config.js"></script>
<script src="/module/plugin/resize/resize.js"></script>
<script src="/module/plugin/mousewheel/mousewheel.js"></script>
<script src="/module/plugin/layout/lr-layout.js"></script>
<script src="/module/plugin/scroll/scroll.js"></script>
<script src="/module/plugin/tree/lr-tree.js"></script>
<script src="/module/plugin/select/lr-select.js"></script>
<script src="/module/plugin/timeline/lr-timeline.js"></script>
<script src="/module/plugin/formselect/lr-formselect.js"></script>
<script src="/module/plugin/date/lr-datepicker.js"></script>
<script src="/module/plugin/grid/jfgrid.js"></script>
<script src="/module/plugin/wizard/wizard.js"></script>
<script src="/module/plugin/uploader/lr-uploader.js"></script>
<script src="/module/script/lr-validator.js"></script>
<script src="/module/script/lr-authorize.js"></script>
<script src="/module/script/lr-excel.js"></script>
<script src="/module/script/lr-form.js"></script>

<script>
    var lrModuleButtonList;var lrModuleColumnList;var lrModule;
    $.lrToken = config.getToken().access_token;
    $(function () {
        $('#lr_form_bg').fadeOut();
        $('#form').lrscroll();


        if (!!window.bootstrap) {
            bootstrap(jQuery, top.learun);
        }
    });
</script>

</body>
</html>
